Add support for MOVSX/MOVSXD/MOVZX (move-with-extend)
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 21 Dec 2005 13:29:23 +0000 (14:29 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 21 Dec 2005 13:29:23 +0000 (14:29 +0100)
commitc19d7d74307693cd3c7e21ffe13747e1cd021066
treefcb063df0fc6481980ad73bd754faca8a8fb29e9
parent2eb236c17e09007ca172219cebeb9c16a73cc3b2
Add support for MOVSX/MOVSXD/MOVZX (move-with-extend)
instructions to the generic x86 emulator. Also add
preliminary support for 16-bit addressing: decode the
ModR/M byte properly but still need to access and update
implicit memory operands (esp,esi,edi) with correct width.
Work is also needed to support real-mode addressing.

Signed-off-by: Keir Fraser <keir@xensource.com>
tools/tests/Makefile
tools/tests/test_x86_emulator.c
xen/arch/x86/x86_emulate.c
xen/include/asm-x86/x86_emulate.h